<?php
class publicUserRegistrationComponents extends myComponents{
	
  public function executeRender(){  	
	$this->node = $this->getObject();
	$this->form = new RegistrationForm();
	$this->redirectLink = $this->getRequestParameter('redirect', LinkGen::getInstance(LinkGen::STRUCTURE)->link(
				Doctrine::getTable('Structure')->findOneByParameterAndLang('memberzone', $this->getRoute()->getObject()->getLang())->getId()
			));
	
  }
}